package com.yimils.core.goods.serivce;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yimils.core.goods.dto.VideoAddReq;
import com.yimils.core.goods.dto.VideoUpdateReq;
import com.yimils.core.goods.entity.VideoEntity;
import com.yimils.core.goods.vo.VideoRes;

import java.util.List;

public interface VideoService extends IService<VideoEntity> {

    Boolean saveVideo(VideoAddReq videoAddReq);

    List<VideoEntity> saveVideoList(List<String> videoUrls);

    Boolean updateVideo(VideoUpdateReq videoUpdateReq);

    Boolean deleteVideo(List<Long> videoIds);

    List<VideoRes> listVideo();

    List<VideoEntity> listVideo(List<Long> videoIds);
}
